import { defineStore } from "pinia";


export const useTest = defineStore('test', {
  state: () => ({
    color: "red"
  }),
  getters: {
    color(state) {
      return state.color
    }
  },
  actions: {
    setColor(color: string) {
      this.color = color;
    }
  }
})